package com.geek.novel.entity

import io.realm.RealmObject
import io.realm.annotations.Ignore
import io.realm.annotations.PrimaryKey
import io.realm.annotations.RealmClass

/**
 * App版本表
 * @Author Hydra
 * @Date 2022/06/07 17:09
 */
@RealmClass
open class AppTypeface : RealmObject() {

    /**
     * id
     */
    @PrimaryKey
    open var id: Long? = null

    /**
     * 类型代码
     */
    open var typeCode: String? = null

    /**
     * 类型名称
     */
    open var typeName: String? = null

    /**
     * 文件名称
     */
    open var fileName: String? = null

    /**
     * 字体包大小
     */
    open var fileSize: String? = null

    /**
     * 下载路径
     */
    open var url: String? = null

    /**
     * 下载进度
     */
    open var progress: Int? = null

    /**字体是否出错*/
    @Ignore
    open var error: Boolean = false

}